Problems with tag O(n * m * r * c)